package com.douguo.recipe;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import com.mobclick.android.MobclickAgent;

public class DouguoActivity extends Activity {
	
	
	
	@Override
	protected void onCreate (Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
	}
	
	@Override
	protected void onResume () {
		super.onResume();
		MobclickAgent.onResume(this);
	}
	
	@Override
	protected void onPause () {
		super.onPause();
		MobclickAgent.onPause(this);
	}
	
	protected void setTitle(String text) {
		TextView textView = (TextView) findViewById(R.id.title_text);
		if(textView != null)
			textView.setText(text);
	}
}

